package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.renren.common.validator.group.AddGroup;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther zxl
 * @Date 2018/12/15 18:38
 * @Description  代理商信息
 **/
@TableName("app_agent")
public class AgentEntity implements Serializable {

    /**
     * 代理商id
     */
    @TableId(value = "agent_id",type = IdType.AUTO)
    private Integer agentId;
    /**
     * 代理商名称
     */
    @TableId(value = "agent_name")
    @NotBlank(message = "代理商名称不能为空",groups = {AddGroup.class})
    private String agentName;
    /**
     * 负责人姓名
     */
    @TableId(value = "charge_name")
    @NotBlank(message = "负责人姓名不能为空",groups = {AddGroup.class})
    private String chargeName;
    /**
     * 联系电话
     */
    @TableId(value = "agent_call")
    @NotBlank(message = "联系电话不能为空",groups = {AddGroup.class})
    private String agentCall;

    /**
     * 省
     */
    @TableId(value = "agent_province")
    private String agentProvince;

    /**
     * 城市
     */
    @TableId(value = "agent_city")
    private String agentCity;
    /**
     * 具体地址
     */
    @TableId(value = "agent_address")
    private String agentAddress;

    /**
     * 5座车价格
     */
    @TableId(value = "small_price")
    private Double smallPrice;


    /**
     * 七座价格
     */
    @TableId(value = "big_price")
    private Double bigPrice;

    /**
     * 运营车价格
     */
    @TableId(value = "operate_price")
    private Double operatePrice;

    /**
     * 创建时间
     */
    @TableId(value = "creat_time")
    private Date creatTime;

    public Double getOperatePrice() {
        return operatePrice;
    }

    public void setOperatePrice(Double operatePrice) {
        this.operatePrice = operatePrice;
    }

    public String getAgentProvince() {
        return agentProvince;
    }

    public void setAgentProvince(String agentProvince) {
        this.agentProvince = agentProvince;
    }

    public AgentEntity(){}


    public Double getSmallPrice() {
        return smallPrice;
    }

    public void setSmallPrice(Double smallPrice) {
        this.smallPrice = smallPrice;
    }


    public Double getBigPrice() {
        return bigPrice;
    }

    public void setBigPrice(Double bigPrice) {
        this.bigPrice = bigPrice;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getChargeName() {
        return chargeName;
    }

    public void setChargeName(String chargeName) {
        this.chargeName = chargeName;
    }

    public String getAgentCall() {
        return agentCall;
    }

    public void setAgentCall(String agentCall) {
        this.agentCall = agentCall;
    }

    public String getAgentCity() {
        return agentCity;
    }

    public void setAgentCity(String agentCity) {
        this.agentCity = agentCity;
    }

    public String getAgentAddress() {
        return agentAddress;
    }

    public void setAgentAddress(String agentAddress) {
        this.agentAddress = agentAddress;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }
}
